package com.vitabuybuy.tv.dto;

/**
 * 作者：SimGa
 * 日期：2021/1/14
 * 时间：16:26
 * 包名：com.vitabuybuy.tv.dto
 */
public class CoinRecordDto {


    /**
     * id : 0
     * quantity : 0
     * createTime :
     * type :
     * purchaseQuantity : 0
     * gift : {"id":0,"name":"","icon":""}
     * store : {"id":0,"name":"","logo":""}
     */

    private int id;
    private int quantity;
    private String createTime;
    private String type;//类型 （recharge-充值。gift-送礼
    private int purchaseQuantity;
    /**
     * id : 0
     * name :
     * icon :
     */

    private GiftBean gift;
    /**
     * id : 0
     * name :
     * logo :
     */

    private StoreBean store;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getPurchaseQuantity() {
        return purchaseQuantity;
    }

    public void setPurchaseQuantity(int purchaseQuantity) {
        this.purchaseQuantity = purchaseQuantity;
    }

    public GiftBean getGift() {
        return gift;
    }

    public void setGift(GiftBean gift) {
        this.gift = gift;
    }

    public StoreBean getStore() {
        return store;
    }

    public void setStore(StoreBean store) {
        this.store = store;
    }

    public static class GiftBean {
        private int id;
        private String name;
        private String icon;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }
    }

    public static class StoreBean {
        private int id;
        private String name;
        private String logo;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }
    }
}
